go/types.Checker.validateTArgLen (method)

3 uses

	go/types (current package)
		instantiate.go#L89: 		if !check.validateTArgLen(pos, tparams.Len(), len(targs)) {
		instantiate.go#L124: func (check *Checker) validateTArgLen(pos token.Pos, ntparams, ntargs int) bool {
		typexpr.go#L475: 		if check.validateTArgLen(pos, inst.tparams.Len(), inst.targs.Len()) {